package com.freewater.cargotracker.infrastructure.persistence.mybatis.dbobject;

public class CargoCustomerPO {

    private Long cargoId;
    private Long customerId;
    private String role;

    public CargoCustomerPO() {

    }

    public CargoCustomerPO(Long cargoId, Long customerId, String role) {
        this.cargoId = cargoId;
        this.customerId = customerId;
        this.role = role;
    }

    public CargoCustomerPO getPrimaryKey() {
        return this;
    }

    public Long getCargoId() {
        return cargoId;
    }

    public void setCargoId(Long cargoId) {
        this.cargoId = cargoId;
    }

    public Long getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Long customerId) {
        this.customerId = customerId;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }
}
